﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UcLichGiangDay.ascx.cs" Inherits="STT.Profile.UserControlsGV.UcLichGiangDay" %>
<div id="biography" class="page home">
    <div style="width:100%">
         <div class="row">
            <div class="col-md-7">
            <h2 class="title"><span id="ctl02_DtlIndex_Label1_0">Lịch giảng dạy</span></h2>
            </div>                                 
        </div>
        <div>
         <asp:GridView ID="gvlichgv" runat="server" CssClass="table table-bordered table-hover"
                AutoGenerateColumns="False" DataKeyNames="Magv"
                OnSelectedIndexChanging="gvlichgv_SelectedIndexChanging" OnPageIndexChanging="gvlichgv_PageIndexChanging">
                <Columns>
                    <asp:BoundField DataField="MaMonHoc" HeaderText="Mã môn học"
                        InsertVisible="False" ReadOnly="True" SortExpression="MaMonHoc"
                        ItemStyle-CssClass="span1">
                        <ItemStyle CssClass="span1"></ItemStyle>
                    </asp:BoundField>
                    <asp:BoundField DataField="TenMonHoc" HeaderText="Tên môn học"
                        SortExpression="TenMonHoc" ItemStyle-CssClass="span2">
                        <ItemStyle CssClass="span2"></ItemStyle>
                    </asp:BoundField>
                    <asp:BoundField DataField="TenLop" HeaderText="Tên Lớp học"
                        SortExpression="TenLop" ItemStyle-CssClass="span2">
                        <ItemStyle CssClass="span2"></ItemStyle>
                    </asp:BoundField>
                    <asp:TemplateField HeaderText="Địa điểm dạy" 
                        SortExpression="DiaDiemDay">
                        <ItemTemplate>
                            <asp:Label ID="Label1" runat="server" 
                                Text='<%# Eval("DiaDiemHoc") %>'></asp:Label>
                        </ItemTemplate>
                        <ItemStyle CssClass="span1" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Ca dạy" 
                        SortExpression="Caday">
                        <ItemTemplate>
                            <asp:Label ID="Label2" runat="server" 
                                Text='<%# Eval("CaHoc") %>'></asp:Label>
                        </ItemTemplate>
                        <ItemStyle CssClass="span1" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Ngày dạy" 
                        SortExpression="ngayday">
                        <ItemTemplate>
                            <asp:Label ID="Label2" runat="server" 
                                Text='<%# DataBinder.Eval(Container.DataItem, "[Ngayhoc]", "{0:MM/dd/yyyy}")%>'></asp:Label>
                        </ItemTemplate>
                        <ItemStyle CssClass="span1" />
                    </asp:TemplateField>
                </Columns>              
            </asp:GridView>
        </div>
    </div>
 </div>